************************************************************************************************The False Promise of Survey Experimental Support for Democracy
**************** as a Cause of the Democratic Peace: It's the Economy*********
***********************************************************************
**Authors: Michael Mousseau & Zlatin Mitkov & Michael Yekple


***Use Stata Version 14 or higher***


*Set working directory
*Place the India.dta and Ghana.dta datasets in the directory
*Import data either using the use command or the Stata interface/GUI

************************
**Data Analysis**
************************

***********************************************************
*Proportions Tests Support for the use of Military Force  
**Table 3 Main Paper**
***********************************************************

**India Sample 1**
use India
prtest binary_dv_ex1 ///
       if pro_treat_sample1==1 | pro_treat_sample1==2, ///
	      by(pro_treat_sample1)

**India Sample 2**
prtest binary_nuclear1_ex2 ///
       if pro_treat_sample2==1 | pro_treat_sample2==2, ///
	      by(pro_treat_sample2)

**India Sample 3**	   
prtest binary_dv_ex3 ///
       if pro_treat_sample3==1 | pro_treat_sample3==2, ///
	      by(pro_treat_sample3)

**India Sample 3** 
prtest binary_nuclear1_ex4 ///
       if pro_treat_sample3==1 | pro_treat_sample3==2, ///
	      by(pro_treat_sample3)

**Ghana Sample 4**
use Ghana
prtest binary_dv_ex5 ///
       if prodemocracy==1 | prodemocracy==2, by(prodemocracy)


   
*****************************
**Figure 2** Main Paper**
*****************************

set scheme cleanplots

use India, clear
regress interval_dv_ex1 democracy ///
        age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==1
		estimate store A

 
regress interval_nuclear_ex2 democracy ///
		age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==2
		estimate store B

		
regress interval_dv_ex3 democracy ///
		age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==3
		estimate store C


regress interval_nuclear_ex4 democracy ///
		age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==3
		estimate store D
		

use Ghana, clear
regress interval_dv_ex5 democracy ///
		age_categorical gender ///
		index_internationalism ///
		index_militarism
		estimate store E				
		
 
  coefplot (A, msymbol(D) msize(large) label(India 1 Conventional Threat) ///
           mlabels(democracy = 1 "India Experiment 1") ///
		   mlabtextstyle(medium)) ///
		 (B, msymbol(D) msize(large) label(India 2 Nuclear Threat) ///
		 mlabels(democracy = 1 "India Experiment 2") ///
		 mlabtextstyle(medium)) ///
		 (C, msymbol(D) msize(large) label(India 3 Conventional Threat) ///
		 mlabels(democracy = 1 "India Experiment 3") ///
		 mlabtextstyle(medium)) ///
		 (D, msymbol(D) msize(large) label(India 3 Nuclear Threat) ///
		 mlabels(democracy = 1 "India Experiment 4") ///
		 mlabtextstyle(medium)) ///
		 (E, msymbol(D) msize(large) label(Ghana 4 Conventional Threat) ///
		 mlabels(democracy = 1 "Ghana Experiment 5") ///
		 mlabtextstyle(medium)) ///
||, drop(_cons) levels(95) ///
         keep (democracy) xline(0) ///
		 xtitle(Impact of Democracy on Willingness to Use Force, ///
		 size(medium) margin(medium)) ///
		coeflabels(democracy="Democracy") ///
		lstyle(refline) recast(rconnected) ///
		ylabel(,labsize(medium)) yscale(off) ///
		legend(pos(6) col(2) margin(small)) msize(large) ///
		legend(size(medium)) legend(off) 
  
  
  
**********************************
**In-Text Appendix**
**********************************

ssc install outreg2

**Table A1: Baseline Models 

use India
regress interval_dv_ex1 democracy if sample==1
outreg2 using basenocontrol.doc, ///
              replace ctitle(India 1 Conventional Threat) label ///
              dec(2)

regress interval_nuclear_ex2 democracy if sample==2
outreg2 using basenocontrol.doc, ///
              append ctitle(India 2 Nuclear Threat) label ///
              dec(2)
	
regress interval_dv_ex3 democracy if sample==3
outreg2 using basenocontrol.doc, ///
              append ctitle(India 3 Conventional Threat) label ///
              dec(2)

regress interval_nuclear_ex4  democracy if sample==3
outreg2 using basenocontrol.doc, ///
              append ctitle(India 4 Nuclear Threat) label ///
              dec(2)
				
use Ghana
regress interval_dv_ex5 democracy
outreg2 using basenocontrol.doc, ///
              replace ctitle(Ghana 5 Conventional Threat) label ///
              dec(2)
	
use India		
regress interval_dv_ex1_ex3 democracy
outreg2 using basenocontrol.doc, ///
              append ctitle(India 6 Conventional Threat) label ///
              dec(2)		

regress interval_nuclear_ex2_ex4 democracy
outreg2 using basenocontrol.doc, ///
              append ctitle(India 7 Nuclear Threat) label ///
              dec(2)
	
	
******************
**Table A2**

use India
prtest binary_dv_ex1_ex3 ///
       if prodemocracy==1 | prodemocracy==2, by(prodemocracy)

**India Pooled Sample Nuclear Threat 6
prtest binary_nuclear_ex2_ex4 ///
       if prodemocracy==1 | prodemocracy==2, by(prodemocracy)

	
******************
**Table A3: Subdivided Democratic Peace Treatments** 

use India
regress interval_dv_ex1 dem_trade_alliance dem_notrade_alliance ///
        dem_notrade_noalliance dem_trade_noalliance ///
		nodem_trade_alliance nodem_trade_noalliance ///
		nodem_notrade_alliance if sample==1
outreg2 using standardmodels.doc, ///
              replace ctitle(India Sample 1 Conventional Threat) label ///
              dec(2)

regress interval_nuclear_ex2 dem_trade_alliance dem_notrade_alliance ///
        dem_notrade_noalliance dem_trade_noalliance ///
		nodem_trade_alliance nodem_trade_noalliance ///
		nodem_notrade_alliance if sample==2
outreg2 using standardmodels.doc, ///
              append ctitle(India Sample 2 Nuclear Threat) label ///
              dec(2)

regress interval_dv_ex3 dem_trade_alliance dem_notrade_alliance ///
        dem_notrade_noalliance dem_trade_noalliance ///
		nodem_trade_alliance nodem_trade_noalliance ///
		nodem_notrade_alliance if sample==3
outreg2 using standardmodels.doc, ///
              append ctitle(India Sample 3 Conventional Threat) label ///
              dec(2)

regress interval_nuclear_ex4 dem_trade_alliance dem_notrade_alliance ///
        dem_notrade_noalliance dem_trade_noalliance ///
		nodem_trade_alliance nodem_trade_noalliance ///
		nodem_notrade_alliance if sample==3
outreg2 using standardmodels.doc, ///
              append ctitle(India Sample 3 Nuclear Threat) label ///
              dec(2)
		
use Ghana
regress interval_dv_ex5 dem_trade_alliance dem_notrade_alliance ///
        dem_notrade_noalliance dem_trade_noalliance ///
		nodem_trade_alliance nodem_trade_noalliance ///
		nodem_notrade_alliance
outreg2 using standardmodels.doc, ///
              append ctitle(Ghana Sample 4 Conventional Threat) label ///
              dec(2)
		
use India		
regress interval_dv_ex1_ex3 dem_trade_alliance dem_notrade_alliance ///
        dem_notrade_noalliance dem_trade_noalliance ///
		nodem_trade_alliance nodem_trade_noalliance ///
		nodem_notrade_alliance
outreg2 using standardmodels.doc, ///
              append ctitle(India Sample 6) label ///
              dec(2)

regress interval_nuclear_ex2_ex4 dem_trade_alliance dem_notrade_alliance ///
        dem_notrade_noalliance dem_trade_noalliance ///
		nodem_trade_alliance nodem_trade_noalliance ///
		nodem_notrade_alliance
outreg2 using standardmodels.doc, ///
              append ctitle(India Sample 7) label ///
              dec(2)
				 


***************		 
**Table A4** 

use India
regress interval_dv_ex1 democracy ///
        age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==1
outreg2 using baselinemodels.doc, replace ctitle(India Sample 1) label ///
              dec(2)

regress interval_nuclear_ex2 democracy ///
		age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==2
outreg2 using baselinemodels.doc, append ctitle(India Sample 2) label ///
              dec(2)

regress interval_dv_ex3 democracy ///
		age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==3
outreg2 using baselinemodels.doc, append ctitle(India Sample 3) label ///
              dec(2)

regress interval_nuclear_ex4 democracy ///
		age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==3
outreg2 using baselinemodels.doc, append ctitle(India Sample 4) label ///
              dec(2)
		
use Ghana
regress interval_dv_ex5 democracy ///
		age_categorical gender ///
		index_internationalism ///
		index_militarism
outreg2 using baselinemodels.doc, append ctitle(Ghana Sample 5) label ///
              dec(2)

use India		
regress interval_dv_ex1_ex3 democracy ///
		age_categorical gender education ///
		index_internationalism ///
		index_militarism
outreg2 using baselinemodels.doc, append ctitle(India Sample 6) label ///
              dec(2)		

regress interval_nuclear_ex2_ex4 democracy ///
		age_categorical gender education ///
		index_internationalism ///
		index_militarism
outreg2 using baselinemodels.doc, append ctitle(India Sample 7) label ///
              dec(2)
		 
		 
  
*****************	 
**Table A5** 

use India
regress interval_dv_ex1 dem_trade_alliance dem_notrade_alliance ///
        dem_notrade_noalliance dem_trade_noalliance ///
		nodem_trade_alliance nodem_trade_noalliance ///
		nodem_notrade_alliance ///
		age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==1
outreg2 using standardmodels.doc, replace ctitle(India Sample 1) label ///
              dec(2)

regress interval_nuclear_ex2 dem_trade_alliance dem_notrade_alliance ///
        dem_notrade_noalliance dem_trade_noalliance ///
		nodem_trade_alliance nodem_trade_noalliance ///
		nodem_notrade_alliance ///
		age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==2
outreg2 using standardmodels.doc, append ctitle(India Sample 2) label ///
              dec(2) 

regress interval_dv_ex3 dem_trade_alliance dem_notrade_alliance ///
        dem_notrade_noalliance dem_trade_noalliance ///
		nodem_trade_alliance nodem_trade_noalliance ///
		nodem_notrade_alliance ///
		age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==3
outreg2 using standardmodels.doc, append ctitle(India Sample 3) label ///
              dec(2)

regress interval_nuclear_ex4 dem_trade_alliance dem_notrade_alliance ///
        dem_notrade_noalliance dem_trade_noalliance ///
		nodem_trade_alliance nodem_trade_noalliance ///
		nodem_notrade_alliance ///
		age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==3
outreg2 using standardmodels.doc, append ctitle(India Sample 4) label ///
              dec(2)
			
use Ghana
regress interval_dv_ex5 dem_trade_alliance dem_notrade_alliance ///
        dem_notrade_noalliance dem_trade_noalliance ///
		nodem_trade_alliance nodem_trade_noalliance ///
		nodem_notrade_alliance ///
		age_categorical gender ///
		index_internationalism index_militarism
outreg2 using standardmodels.doc, append ctitle(Ghana Sample 5) label ///
              dec(2)
		
use India		
regress interval_dv_ex1_ex3 dem_trade_alliance dem_notrade_alliance ///
        dem_notrade_noalliance dem_trade_noalliance ///
		nodem_trade_alliance nodem_trade_noalliance ///
		nodem_notrade_alliance ///
		age_categorical gender education ///
		index_internationalism ///
		index_militarism 
outreg2 using standardmodels.doc, append ctitle(India Sample 6) label ///
              dec(2)

regress interval_nuclear_ex2_ex4 dem_trade_alliance dem_notrade_alliance ///
        dem_notrade_noalliance dem_trade_noalliance ///
		nodem_trade_alliance nodem_trade_noalliance ///
		nodem_notrade_alliance ///
		age_categorical gender education ///
		index_internationalism ///
		index_militarism
outreg2 using standardmodels.doc, append ctitle(India Sample 7) label ///
              dec(2)
			 
		 

		 
***********************************************************************
****Online Appendix****
***********************************************************************

************************
**Ballance Checks**
**Table 6**
**India Experiments 1, 2 and 3** 

use India, clear
logistic democracy ///
        age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==1
		 
outreg2 using democracysample1.doc, replace ///
        ctitle(Democracy) ///
        dec(2) keep(age_categorical ///
        gender education ///
		index_internationalism ///
		index_militarism) /// 
		addstat(Pseudo R-squared, `e(r2_p)') eform
			
logistic autocracy ///
        age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==1
		 
outreg2 using democracysample1.doc, append ///
        ctitle(Autocracy) ///
        dec(2) keep(age_categorical ///
        gender education ///
		index_internationalism ///
		index_militarism) /// 
		addstat(Pseudo R-squared, `e(r2_p)') eform
		
logistic democracy ///
        age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==2
		 
outreg2 using democracysample1.doc, append ///
        ctitle(Democracy) ///
        dec(2) keep(age_categorical ///
        gender education ///
		index_internationalism ///
		index_militarism) /// 
		addstat(Pseudo R-squared, `e(r2_p)') eform

logistic autocracy ///
        age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==2
		 
outreg2 using democracysample1.doc, append ///
        ctitle(Autocracy) ///
        dec(2) keep(age_categorical ///
         gender education ///
		index_internationalism ///
		index_militarism) /// 
		addstat(Pseudo R-squared, `e(r2_p)') eform	
		
logistic democracy ///
        age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==3
		 
outreg2 using democracysample1.doc, append ///
        ctitle(Democracy) ///
        dec(2) keep(age_categorical ///
        gender education ///
		index_internationalism ///
		index_militarism) /// 
		addstat(Pseudo R-squared, `e(r2_p)') eform
			
logistic autocracy ///
        age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==3
		 
outreg2 using democracysample1.doc, append ///
        ctitle(Autocracy) ///
        dec(2) keep(age_categorical ///
        gender education ///
		index_internationalism ///
		index_militarism) /// 
		addstat(Pseudo R-squared, `e(r2_p)') eform
	

***************	
**Table 7**
**Ghana Experiment 5

use Ghana, clear
logistic democracy ///
        age_categorical gender ///
		index_internationalism ///
		index_militarism 
		 
outreg2 using democracyGhanasample5.doc, replace ///
        ctitle(Democracy) ///
        dec(2) keep(age_categorical gender ///
		index_internationalism ///
		index_militarism) /// 
		addstat(Pseudo R-squared, `e(r2_p)') eform
		
logistic autocracy ///
        age_categorical gender ///
		index_internationalism ///
		index_militarism 
		 
outreg2 using democracyGhanasample5.doc, append ///
        ctitle(Autocracy) ///
        dec(2) keep(age_categorical gender ///
		index_internationalism ///
		index_militarism) /// 
		addstat(Pseudo R-squared, `e(r2_p)') eform	


*****************		
**Table 8**
**India Pooled Samples Experiments 6 and 7 

use India, clear
logistic democracy ///
        age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==1 | sample==3
		 
outreg2 using democracysample6_7.doc, replace ///
        ctitle(Democracy) ///
        dec(2) keep(age_categorical ///
        gender education ///
		index_internationalism ///
		index_militarism) /// 
		addstat(Pseudo R-squared, `e(r2_p)') eform 
		
logistic autocracy ///
        age_categorical gender education ///
		index_internationalism ///
		index_militarism if sample==1 | sample==3
		 
outreg2 using democracysample6_7.doc, append ///
        ctitle(Autocracy) ///
        dec(2) keep(age_categorical ///
        gender education ///
		index_internationalism ///
		index_militarism) /// 
		addstat(Pseudo R-squared, `e(r2_p)') eform 


******************************************
**Table 9**
**Results using the first type of attention check type 1 no controls**
******************************************

use India
regress interval_dv_ex1  democracy if attentioncheck_one==2
outreg2 using modelsattentioncheck1type1.doc, ///
              replace ctitle(India 1 Conventional Threat) label dec(2)

regress interval_nuclear_ex2 democracy if attentioncheck_one==2
outreg2 using modelsattentioncheck1type1.doc, ///
              append ctitle(India 2 Nuclear Threat) label dec(2)
	
regress interval_dv_ex3 democracy if attentioncheck_one==2
outreg2 using modelsattentioncheck1type1.doc, ///
              append ctitle(India 3 Conventinal Threat) label dec(2)


regress interval_nuclear_ex4 democracy if attentioncheck_one==2
outreg2 using modelsattentioncheck1type1.doc, ///
              append ctitle(India 3 Nuclear Threat) label dec(2)
				
use Ghana
regress interval_dv_ex5 democracy if attentioncheck_one==2
outreg2 using modelsattentioncheck1type1.doc, ///
              append ctitle(Ghana Sample 5) label dec(2)

use India		
regress interval_dv_ex1_ex3 democracy if attentioncheck_one==2
outreg2 using modelsattentioncheck1type1.doc, ///
              append ctitle(India 6 Conventional Threat) label dec(2)		

regress interval_nuclear_ex2_ex4 democracy if attentioncheck_one==2
outreg2 using modelsattentioncheck1type1.doc, ///
              append ctitle(India 7 Nuclear Threat) label dec(2)


****************************************************
**Table 10
*****************************************************
**Results using the second type of attention check type 2 no controls 

use India
regress interval_dv_ex1  democracy if attentioncheck_two==3
outreg2 using modelsattentioncheck1type2.doc, ///
              replace ctitle(India 1 Conventional Threat) label dec(2)

regress interval_nuclear_ex2 democracy if attentioncheck_two==3
outreg2 using modelsattentioncheck1type2.doc, ///
              append ctitle(India 2 Nuclear Threat) label dec(2)
	
regress interval_dv_ex3 democracy if attentioncheck_two==3
outreg2 using modelsattentioncheck1type2.doc, ///
              append ctitle(India 3 Conventinal Threat) label dec(2)


regress interval_nuclear_ex4 democracy if attentioncheck_two==3
outreg2 using modelsattentioncheck1type2.doc, ///
              append ctitle(India 3 Nuclear Threat) label dec(2)
				
use Ghana
regress interval_dv_ex5 democracy if attentioncheck_two==3
outreg2 using modelsattentioncheck1type2.doc, ///
              append ctitle(Ghana Sample 5) label dec(2)

use India		
regress interval_dv_ex1_ex3 democracy if attentioncheck_two==3
outreg2 using modelsattentioncheck1type2.doc, ///
              append ctitle(India 6 Conventional Threat) label dec(2)		

regress interval_nuclear_ex2_ex4 democracy if attentioncheck_two==3
outreg2 using modelsattentioncheck1type2.doc, ///
              append ctitle(India 7 Nuclear Threat) label dec(2)


			  
******************************************
**Table 11
******************************************
**Results using the first type of attention check type 1 with controls


use India
regress interval_dv_ex1 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if attentioncheck_one==2
outreg2 using modelsattentioncheck1type1.doc, ///
              replace ctitle(India 1 Conventional Threat) label dec(2)

regress interval_nuclear_ex2 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if attentioncheck_one==2
outreg2 using modelsattentioncheck1type1.doc, ///
              append ctitle(India 2 Nuclear Threat) label dec(2)
	
regress interval_dv_ex3 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if attentioncheck_one==2
outreg2 using modelsattentioncheck1type1.doc, ///
              append ctitle(India 3 Conventinal Threat) label dec(2)


regress interval_nuclear_ex4 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if attentioncheck_one==2
outreg2 using modelsattentioncheck1type1.doc, ///
              append ctitle(India 3 Nuclear Threat) label dec(2)
				
use Ghana
regress interval_dv_ex5 democracy age_categorical gender ///
		index_internationalism ///
		index_militarism if attentioncheck_one==2
outreg2 using modelsattentioncheck1type1.doc, ///
              append ctitle(Ghana Sample 5) label dec(2)

use India		
regress interval_dv_ex1_ex3 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if attentioncheck_one==2
outreg2 using modelsattentioncheck1type1.doc, ///
              append ctitle(India 6 Conventional Threat) label dec(2)		

regress interval_nuclear_ex2_ex4 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if attentioncheck_one==2
outreg2 using modelsattentioncheck1type1.doc, ///
              append ctitle(India 7 Nuclear Threat) label dec(2)



*****************************************************
**Table 12
*****************************************************
**Results using the second type of attention check type 2 with controls 

use India
regress interval_dv_ex1 democracy age_categorical gender education ///
		index_internationalism age_categorical gender education ///
		index_internationalism ///
		index_militarism if attentioncheck_two==3
outreg2 using modelsattentioncheck1type2.doc, ///
              replace ctitle(India 1 Conventional Threat) label dec(2)

regress interval_nuclear_ex2 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if attentioncheck_two==3
outreg2 using modelsattentioncheck1type2.doc, ///
              append ctitle(India 2 Nuclear Threat) label dec(2)
	
regress interval_dv_ex3 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if attentioncheck_two==3
outreg2 using modelsattentioncheck1type2.doc, ///
              append ctitle(India 3 Conventinal Threat) label dec(2)


regress interval_nuclear_ex4 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if attentioncheck_two==3
outreg2 using modelsattentioncheck1type2.doc, ///
              append ctitle(India 3 Nuclear Threat) label dec(2)
				
use Ghana
regress interval_dv_ex5 democracy age_categorical gender ///
		index_internationalism ///
		index_militarism if attentioncheck_two==3
outreg2 using modelsattentioncheck1type2.doc, ///
              append ctitle(Ghana Sample 5) label dec(2)

use India		
regress interval_dv_ex1_ex3 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if attentioncheck_two==3
outreg2 using modelsattentioncheck1type2.doc, ///
              append ctitle(India 6 Conventional Threat) label dec(2)		

regress interval_nuclear_ex2_ex4 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if attentioncheck_two==3
outreg2 using modelsattentioncheck1type2.doc, ///
              append ctitle(India 7 Nuclear Threat) label dec(2)



******************************************
**Table 13
******************************************
****Attention Checks when both questions have been answered correclty 

use India
regress interval_dv_ex1 democracy if both_attentionchecks==0
outreg2 using bothattentionchecks.doc, ///
              replace ctitle(India 1 Conventional Threat) label dec(2)

regress interval_nuclear_ex2 democracy if both_attentionchecks==0
outreg2 using bothattentionchecks.doc, ///
              append ctitle(India 2 Nuclear Threat) label dec(2)
	
regress interval_dv_ex3 democracy if both_attentionchecks==0
outreg2 using bothattentionchecks.doc, ///
              append ctitle(India 3 Conventional Threat) label dec(2)

regress interval_nuclear_ex4 democracy if both_attentionchecks==0
outreg2 using bothattentionchecks.doc, ///
              append ctitle(India 4 Nuclear Threat) label dec(2)
				
use Ghana
regress interval_dv_ex5 democracy if both_attentionchecks==0
outreg2 using bothattentionchecks.doc, ///
              append ctitle(Ghana 5 Conventional Threat) label dec(2)
	
use India		
regress interval_dv_ex1_ex3 democracy if both_attentionchecks==0
outreg2 using bothattentionchecks.doc, ///
              append ctitle(India 6 Conventional Threat) label dec(2)		

regress interval_nuclear_ex2_ex4 democracy if both_attentionchecks==0
outreg2 using bothattentionchecks.doc, ///
              append ctitle(India 7 Nuclear Threat) label dec(2)


*************************************
**Table 14
*************************************
**Attention Checks when both questions have been answered correclty with controls 


use India
regress interval_dv_ex1 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if both_attentionchecks==0
outreg2 using bothattentionchecks.doc, ///
              replace ctitle(India 1 Conventional Threat) label dec(2)

regress interval_nuclear_ex2 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if both_attentionchecks==0
outreg2 using bothattentionchecks.doc, ///
              append ctitle(India 2 Nuclear Threat) label dec(2)
	
regress interval_dv_ex3 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if both_attentionchecks==0
outreg2 using bothattentionchecks.doc, ///
              append ctitle(India 3 Conventional Threat) label dec(2)

regress interval_nuclear_ex4 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if both_attentionchecks==0
outreg2 using bothattentionchecks.doc, ///
              append ctitle(India 4 Nuclear Threat) label dec(2)
				
use Ghana
regress interval_dv_ex5 democracy age_categorical gender ///
		index_internationalism ///
		index_militarism if both_attentionchecks==0
outreg2 using bothattentionchecks.doc, ///
              append ctitle(Ghana 5 Conventional Threat) label dec(2)
	
use India		
regress interval_dv_ex1_ex3 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if both_attentionchecks==0
outreg2 using bothattentionchecks.doc, ///
              append ctitle(India 6 Conventional Threat) label dec(2)		

regress interval_nuclear_ex2_ex4 democracy age_categorical gender education ///
		index_internationalism ///
		index_militarism if both_attentionchecks==0
outreg2 using bothattentionchecks.doc, ///
              append ctitle(India 7 Nuclear Threat) label dec(2)

		
*************************		
**********End************
************************* 
